%
% This script uses example.glade from the libglade distribution to demonstrate
% how you can create a complex interface and connect all signal handlers using
% only two function calls.  All required information comes from the XML file,
% which was created with Glade.
%

import("gtk");
import("glade");

variable xml = glade_xml_new("example.glade",,);
glade_xml_signal_autoconnect(xml);

gtk_main();

